package com.zhoujiulong.assembly_b.testmvvm.ApiService

import com.zhoujiulong.baselib.http.response.DataResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @Description:
 * @Author:  lfc
 * @Email:    iamlifuchang@163.com
 * @CreateTime:     2021/4/13 14:29
 * @UpdateRemark:
 */
interface TestService {
    @GET("test")
    fun test1(@Query("searchName") searchName: String): Call<DataResponse<String>>

    @GET("test")
    suspend fun test2(@Query("searchName") searchName: String): DataResponse<String>
}